home *** CD-ROM | disk | FTP | other *** search
/ Deutsche Edition 1 / Deutsche Edition 1.iso / amok / 081-090 / amok90 / bumprevmo1.0 / bumprevmo.doc < prev    next >
Text File  |  1993-11-04  |  1KB  |  47 lines

  1. BumpRevMO                                                           BumpRevMO
  2.  
  3.   NAME
  4.      BumpRevMO -- updating revision module  (xxxRev.mod and xxxRev.def)
  5.  
  6.   SYNOPSIS
  7.     BumpRevMO Version/N/A,File/A,Modula/S
  8.  
  9.   FUNCTION
  10.      This tools works like the bumprev tool on the developers disks,
  11.      but outputs Modula-2 and Oberon source.
  12.  
  13.      It creates a new module with the tools name concated with
  14.      "Rev", and (if not already existing) a revision file with the
  15.      name of this module and extension ".rev".
  16.  
  17.      If the option Modula is set, then the program will create a
  18.      proper Modula-2 definition module, else a Oberon module.
  19.  
  20.      If the txt/ sub-dir exists, the program will cd there and then
  21.      try to open the needed file. This behavior should become more
  22.      flexible in future to work like AmigaOberon and perhaps like
  23.      M2Amiga.
  24.  
  25.   EXAMPLE
  26.      shell-prompt> bumprev 17 foobar
  27.      bumprev: creating new revision file
  28.      bumprev: bumped foobar to revision 1
  29.      shell-prompt> bumprev 17 foobar
  30.      bumprev: bumped foobar to revision 2
  31.  
  32.      This has created the files foobarRev.mod and foobarRev.rev.
  33.      foobarRev.mod looks like this:
  34.      .....8<-------
  35.      MODULE foobarRev;
  36.      CONST
  37.        version  * = 17;
  38.        revision * = 2;
  39.        date     * = '9.3.93';
  40.        vers     * = 'foobar 17.2';
  41.        vString  * = 'foobar 17.2 (9.3.93)\r\n';
  42.        versTag  * = '$VER: foobar 17.2 (9.3.93)\r\n';
  43.  
  44.      END foobarRev.
  45.      .....8<-------
  46.  
  47.